/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package healthcare.coursework.service;


import healthcare.coursework.model.Outlet;
import healthcare.coursework.model.Specialization;
import healthcare.coursework.model.Users;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Administrator
 */
@Remote
public interface UserService {

    List<Users> findUsers();

    Users findUser(String userName);

    List<Users> findUsersByFullName(String fullName);


    public void create(Users user, String role) ;

    public void edit(Users user,Specialization  spec) ;

    void block(String username);

    void recover(String username);

    void removeForever(String username);

    public boolean isEmailExisted(String email);

    public List<Outlet> outlets();

    public List<Outlet> specializations() ;
    public List<Users> findLaboratories() ;
}
